Optimal. Leaf size=146 \[ \frac {\sqrt {a \sin (e+f x)} \tan ^{-1}\left (\sqrt {\cos (e+f x)}\right )}{4 a^3 f \sqrt {\cos (e+f x)} \sqrt {b \tan (e+f x)}}-\frac {\sqrt {a \sin (e+f x)} \tanh ^{-1}\left (\sqrt {\cos (e+f x)}\right )}{4 a^3 f \sqrt {\cos (e+f x)} \sqrt {b \tan (e+f x)}}-\frac {b}{2 a^2 f \sqrt {a \sin (e+f x)} (b \tan (e+f x))^{3/2}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.14, antiderivative size = 146, normalized size of antiderivative = 1.00, number of steps used = 8, number of rules used = 8, integrand size = 25, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.320, Rules used = {2599, 2601, 12, 2565, 329, 298, 203, 206} \[ -\frac {b}{2 a^2 f \sqrt {a \sin (e+f x)} (b \tan (e+f x))^{3/2}}+\frac {\sqrt {a \sin (e+f x)} \tan ^{-1}\left (\sqrt {\cos (e+f x)}\right )}{4 a^3 f \sqrt {\cos (e+f x)} \sqrt {b \tan (e+f x)}}-\frac {\sqrt {a \sin (e+f x)} \tanh ^{-1}\left (\sqrt {\cos (e+f x)}\right )}{4 a^3 f \sqrt {\cos (e+f x)} \sqrt {b \tan (e+f x)}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 12
Rule 203
Rule 206
Rule 298
Rule 329
Rule 2565
Rule 2599
Rule 2601
Rubi steps
\begin {align*} \int \frac {1}{(a \sin (e+f x))^{5/2} \sqrt {b \tan (e+f x)}} \, dx &=-\frac {b}{2 a^2 f \sqrt {a \sin (e+f x)} (b \tan (e+f x))^{3/2}}+\frac {\int \frac {1}{\sqrt {a \sin (e+f x)} \sqrt {b \tan (e+f x)}} \, dx}{4 a^2}\\ &=-\frac {b}{2 a^2 f \sqrt {a \sin (e+f x)} (b \tan (e+f x))^{3/2}}+\frac {\sqrt {a \sin (e+f x)} \int \frac {\sqrt {\cos (e+f x)} \csc (e+f x)}{a} \, dx}{4 a^2 \sqrt {\cos (e+f x)} \sqrt {b \tan (e+f x)}}\\ &=-\frac {b}{2 a^2 f \sqrt {a \sin (e+f x)} (b \tan (e+f x))^{3/2}}+\frac {\sqrt {a \sin (e+f x)} \int \sqrt {\cos (e+f x)} \csc (e+f x) \, dx}{4 a^3 \sqrt {\cos (e+f x)} \sqrt {b \tan (e+f x)}}\\ &=-\frac {b}{2 a^2 f \sqrt {a \sin (e+f x)} (b \tan (e+f x))^{3/2}}-\frac {\sqrt {a \sin (e+f x)} \operatorname {Subst}\left (\int \frac {\sqrt {x}}{1-x^2} \, dx,x,\cos (e+f x)\right )}{4 a^3 f \sqrt {\cos (e+f x)} \sqrt {b \tan (e+f x)}}\\ &=-\frac {b}{2 a^2 f \sqrt {a \sin (e+f x)} (b \tan (e+f x))^{3/2}}-\frac {\sqrt {a \sin (e+f x)} \operatorname {Subst}\left (\int \frac {x^2}{1-x^4} \, dx,x,\sqrt {\cos (e+f x)}\right )}{2 a^3 f \sqrt {\cos (e+f x)} \sqrt {b \tan (e+f x)}}\\ &=-\frac {b}{2 a^2 f \sqrt {a \sin (e+f x)} (b \tan (e+f x))^{3/2}}-\frac {\sqrt {a \sin (e+f x)} \operatorname {Subst}\left (\int \frac {1}{1-x^2} \, dx,x,\sqrt {\cos (e+f x)}\right )}{4 a^3 f \sqrt {\cos (e+f x)} \sqrt {b \tan (e+f x)}}+\frac {\sqrt {a \sin (e+f x)} \operatorname {Subst}\left (\int \frac {1}{1+x^2} \, dx,x,\sqrt {\cos (e+f x)}\right )}{4 a^3 f \sqrt {\cos (e+f x)} \sqrt {b \tan (e+f x)}}\\ &=-\frac {b}{2 a^2 f \sqrt {a \sin (e+f x)} (b \tan (e+f x))^{3/2}}+\frac {\tan ^{-1}\left (\sqrt {\cos (e+f x)}\right ) \sqrt {a \sin (e+f x)}}{4 a^3 f \sqrt {\cos (e+f x)} \sqrt {b \tan (e+f x)}}-\frac {\tanh ^{-1}\left (\sqrt {\cos (e+f x)}\right ) \sqrt {a \sin (e+f x)}}{4 a^3 f \sqrt {\cos (e+f x)} \sqrt {b \tan (e+f x)}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.63, size = 112, normalized size = 0.77 \[ \frac {-4 \cos ^2(e+f x)^{3/4} \cot (e+f x)+\sin (2 (e+f x)) \tan ^{-1}\left (\sqrt [4]{\cos ^2(e+f x)}\right )-\sin (2 (e+f x)) \tanh ^{-1}\left (\sqrt [4]{\cos ^2(e+f x)}\right )}{8 a^2 f \cos ^2(e+f x)^{3/4} \sqrt {a \sin (e+f x)} \sqrt {b \tan (e+f x)}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [B] time = 0.99, size = 605, normalized size = 4.14 \[ \left [\frac {2 \, \sqrt {-a b} {\left (\cos \left (f x + e\right )^{2} - 1\right )} \arctan \left (\frac {2 \, \sqrt {-a b} \sqrt {a \sin \left (f x + e\right )} \sqrt {\frac {b \sin \left (f x + e\right )}{\cos \left (f x + e\right )}} \cos \left (f x + e\right )}{{\left (a b \cos \left (f x + e\right ) + a b\right )} \sin \left (f x + e\right )}\right ) \sin \left (f x + e\right ) - \sqrt {-a b} {\left (\cos \left (f x + e\right )^{2} - 1\right )} \log \left (-\frac {a b \cos \left (f x + e\right )^{3} - 5 \, a b \cos \left (f x + e\right )^{2} + 4 \, \sqrt {-a b} \sqrt {a \sin \left (f x + e\right )} \sqrt {\frac {b \sin \left (f x + e\right )}{\cos \left (f x + e\right )}} \cos \left (f x + e\right ) \sin \left (f x + e\right ) - 5 \, a b \cos \left (f x + e\right ) + a b}{\cos \left (f x + e\right )^{3} + 3 \, \cos \left (f x + e\right )^{2} + 3 \, \cos \left (f x + e\right ) + 1}\right ) \sin \left (f x + e\right ) + 8 \, \sqrt {a \sin \left (f x + e\right )} \sqrt {\frac {b \sin \left (f x + e\right )}{\cos \left (f x + e\right )}} \cos \left (f x + e\right )^{2}}{16 \, {\left (a^{3} b f \cos \left (f x + e\right )^{2} - a^{3} b f\right )} \sin \left (f x + e\right )}, -\frac {2 \, \sqrt {a b} {\left (\cos \left (f x + e\right )^{2} - 1\right )} \arctan \left (\frac {2 \, \sqrt {a b} \sqrt {a \sin \left (f x + e\right )} \sqrt {\frac {b \sin \left (f x + e\right )}{\cos \left (f x + e\right )}} \cos \left (f x + e\right )}{{\left (a b \cos \left (f x + e\right ) - a b\right )} \sin \left (f x + e\right )}\right ) \sin \left (f x + e\right ) - \sqrt {a b} {\left (\cos \left (f x + e\right )^{2} - 1\right )} \log \left (\frac {4 \, \sqrt {a b} {\left (\cos \left (f x + e\right )^{2} + \cos \left (f x + e\right )\right )} \sqrt {a \sin \left (f x + e\right )} \sqrt {\frac {b \sin \left (f x + e\right )}{\cos \left (f x + e\right )}} - {\left (a b \cos \left (f x + e\right )^{2} + 6 \, a b \cos \left (f x + e\right ) + a b\right )} \sin \left (f x + e\right )}{{\left (\cos \left (f x + e\right )^{2} - 2 \, \cos \left (f x + e\right ) + 1\right )} \sin \left (f x + e\right )}\right ) \sin \left (f x + e\right ) - 8 \, \sqrt {a \sin \left (f x + e\right )} \sqrt {\frac {b \sin \left (f x + e\right )}{\cos \left (f x + e\right )}} \cos \left (f x + e\right )^{2}}{16 \, {\left (a^{3} b f \cos \left (f x + e\right )^{2} - a^{3} b f\right )} \sin \left (f x + e\right )}\right ] \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {1}{\left (a \sin \left (f x + e\right )\right )^{\frac {5}{2}} \sqrt {b \tan \left (f x + e\right )}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [B] time = 0.58, size = 319, normalized size = 2.18 \[ -\frac {\left (4 \cos \left (f x +e \right ) \sqrt {-\frac {\cos \left (f x +e \right )}{\left (1+\cos \left (f x +e \right )\right )^{2}}}+\cos \left (f x +e \right ) \ln \left (-\frac {2 \sqrt {-\frac {\cos \left (f x +e \right )}{\left (1+\cos \left (f x +e \right )\right )^{2}}}\, \left (\cos ^{2}\left (f x +e \right )\right )-\left (\cos ^{2}\left (f x +e \right )\right )-2 \sqrt {-\frac {\cos \left (f x +e \right )}{\left (1+\cos \left (f x +e \right )\right )^{2}}}+2 \cos \left (f x +e \right )-1}{\sin \left (f x +e \right )^{2}}\right )+\cos \left (f x +e \right ) \arctan \left (\frac {1}{2 \sqrt {-\frac {\cos \left (f x +e \right )}{\left (1+\cos \left (f x +e \right )\right )^{2}}}}\right )-\ln \left (-\frac {2 \sqrt {-\frac {\cos \left (f x +e \right )}{\left (1+\cos \left (f x +e \right )\right )^{2}}}\, \left (\cos ^{2}\left (f x +e \right )\right )-\left (\cos ^{2}\left (f x +e \right )\right )-2 \sqrt {-\frac {\cos \left (f x +e \right )}{\left (1+\cos \left (f x +e \right )\right )^{2}}}+2 \cos \left (f x +e \right )-1}{\sin \left (f x +e \right )^{2}}\right )-\arctan \left (\frac {1}{2 \sqrt {-\frac {\cos \left (f x +e \right )}{\left (1+\cos \left (f x +e \right )\right )^{2}}}}\right )\right ) \sin \left (f x +e \right )}{8 f \left (a \sin \left (f x +e \right )\right )^{\frac {5}{2}} \sqrt {\frac {b \sin \left (f x +e \right )}{\cos \left (f x +e \right )}}\, \sqrt {-\frac {\cos \left (f x +e \right )}{\left (1+\cos \left (f x +e \right )\right )^{2}}}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {1}{\left (a \sin \left (f x + e\right )\right )^{\frac {5}{2}} \sqrt {b \tan \left (f x + e\right )}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.01 \[ \int \frac {1}{{\left (a\,\sin \left (e+f\,x\right )\right )}^{5/2}\,\sqrt {b\,\mathrm {tan}\left (e+f\,x\right )}} \,d x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F(-1)] time = 0.00, size = 0, normalized size = 0.00 \[ \text {Timed out} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________